/*
 * @Description: 
 * @Author: handongliang dongliang.han@163.com
 * @Date: 2024-05-27 15:14:05
 * @LastEditTime: 2024-05-27 16:15:36
 */
import Login from '@/pages/platform/login';
import Welcome from "@/pages/platform/welcom";
import Screen from "@/pages/screen";
import Demo from "@/pages/platform/demo";
import BasicLayout from "@/layouts/basicLayout";
import MapRouters from "@/routes/map.ts";
import MonitorRouters from "@/routes/monitor.ts";
import AnylysisRouters from "@/routes/anylysis.ts";
import OpsRouters from "@/routes/ops.ts";
import LibraryRouters from "@/routes/library";
import EmergencyRouters from "@/routes/emergency.ts";
import InBuild from "@/pages/platform/inBuild";
import OtherRouters from "@/routes/other";
import FrameLayout from '@/layouts/frameLayout';
import DpLayout from '@/layouts/DpLayout';
export default [
    {
        path: '/',
        redirect: '/screen',
    },
    {
        name: '登录',
        path: '/login',
        component: Login,
    },{
        path: '/screen',
        name: '驾驶舱',
        component: Screen,
    },

    {
        path: '/',
        component: BasicLayout,
        children: [
            {
                name: '首页',
                path: 'welcome',
                component: Welcome,
            }, {
                name: 'demo',
                path: 'demo',
                component: Demo,
            },
            {
                name: '建设中',
                path: 'in-build',
                component: InBuild,
            },
            //背景为地图的页面
            MapRouters,
            //实时监控监测类页面
            // MonitorRouters,
            // //所有分析统计页面
            // AnylysisRouters,
            // //所有增删改查页面
            // OpsRouters,
            // //应急中心
            // EmergencyRouters,
            // LibraryRouters,
            // OtherRouters,
            //智库
            {
                name: '404',
                path: '/*',
                redirect: '/welcome',
            }
        ],
    },
];
